Version Property (Session Object) 

The Version property returns the version number of the OLE Messaging Library as a string, for example,  1.1 . Read-only.

Syntax

objSession.Version

Data Type

String

Remarks

The version number for the OLE Messaging Library is represented by a string in the form n.xx, where n represents a major version number and xx represents a minor version number.

Example

' see the function Session_Version

    Dim objSession As Object

    Set objSession = CreateObject("MAPI.Session")

    ' error handling here...

    MsgBox "Version number is " & objSession.Version

MsgBox "Welcome to OLE Messaging Library version " & objSession.Version

 

See Also

OperatingSystem Property (Session Object)2.LJ0S7